import 'package:beautiful_demo/common/base/base_bean.dart';
import 'package:beautiful_demo/common/base/http.dart';

import 'user_bean.dart';
///description:登录
class LoginHttp extends BaseHttp {

  //登录
  Future<UserBean> httpLogin(String phone,String pwd) async {
    const url="/store/login";
    final para={
      "phone":phone,
      "pwd":pwd
    };
    return UserBean(await httpPost(url, para));


  }

}
